package com.common.exception;


public class NoStockException extends RuntimeException{
    private String skuId;
    public NoStockException(String skuId){
        super("商品Id："+skuId+",没有足够的库存了");
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }
}
